<html>
    <header>
        <meta charset="utf8" />
        <script type="text/javascript" src="./index.js"></script>
    </header>
    <body>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
        <div>testxxxxxxxxxxxtest</div>
    </body>
    <script type="text/javascript">
        window.onload = function() {
            var str1 = 'http://10.11.185.29:33200/EPG/jsp/GZXMT/en/page/detailMuch.html';
            var str2 = 'http://epg.gzgdnm.com:8888/lttest/GZXMT/en/page/special/special02.html';
            console.log('测试获取str1与str2的最大子字符串：' + getSubStr(str1, str2))
        }
    </script>
</html>
